<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver LLCC68: interface/driver_llcc68_interface.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver LLCC68
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">LLCC68 full-featured driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__llcc68__interface_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_llcc68_interface.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__llcc68__interface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef DRIVER_LLCC68_INTERFACE_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define DRIVER_LLCC68_INTERFACE_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__llcc68_8h.html">driver_llcc68.h</a>&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#gac91b001cd91ba910332cf40d22a99562">llcc68_interface_spi_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#ga4cc1732c6c990f8f94e3d6e84b9f55dc">llcc68_interface_spi_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#ga6249185ed7b26c1d00555f68b7f939bb">llcc68_interface_spi_write_read</a>(uint8_t *in_buf, uint32_t in_len,</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                                        uint8_t *out_buf, uint32_t out_len);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#ga04728b38d8d5cd477f94fad83ccc079c">llcc68_interface_reset_gpio_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#ga964a93cf01c0994dc4e64c8faa660166">llcc68_interface_reset_gpio_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#gaf306a5d478b9cb0cc4f855b6423a7a40">llcc68_interface_reset_gpio_write</a>(uint8_t data);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#gae809b7f978725939f9d214c7c52169df">llcc68_interface_busy_gpio_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#ga336bb25e33e46c3e1ae0b40d378e5ac3">llcc68_interface_busy_gpio_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;uint8_t <a class="code" href="group__llcc68__interface__driver.html#ga29d1f24134f0224f1dd412517fa1a751">llcc68_interface_busy_gpio_read</a>(uint8_t *value);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__llcc68__interface__driver.html#gac629a17da5f2e066e60b3ef7f5d6c627">llcc68_interface_delay_ms</a>(uint32_t ms);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__llcc68__interface__driver.html#gac2fce1fe77dbf76dace4c91647c83313">llcc68_interface_debug_print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> fmt, ...);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__llcc68__interface__driver.html#gaa18d360d59376da33060a171cb5f383d">llcc68_interface_receive_callback</a>(uint16_t type, uint8_t *buf, uint16_t len);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;}</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="adriver__llcc68_8h_html"><div class="ttname"><a href="driver__llcc68_8h.html">driver_llcc68.h</a></div><div class="ttdoc">driver llcc68 header file</div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_ga04728b38d8d5cd477f94fad83ccc079c"><div class="ttname"><a href="group__llcc68__interface__driver.html#ga04728b38d8d5cd477f94fad83ccc079c">llcc68_interface_reset_gpio_init</a></div><div class="ttdeci">uint8_t llcc68_interface_reset_gpio_init(void)</div><div class="ttdoc">interface reset gpio init</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00087">driver_llcc68_interface_template.c:87</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_ga29d1f24134f0224f1dd412517fa1a751"><div class="ttname"><a href="group__llcc68__interface__driver.html#ga29d1f24134f0224f1dd412517fa1a751">llcc68_interface_busy_gpio_read</a></div><div class="ttdeci">uint8_t llcc68_interface_busy_gpio_read(uint8_t *value)</div><div class="ttdoc">interface busy gpio read</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00149">driver_llcc68_interface_template.c:149</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_ga336bb25e33e46c3e1ae0b40d378e5ac3"><div class="ttname"><a href="group__llcc68__interface__driver.html#ga336bb25e33e46c3e1ae0b40d378e5ac3">llcc68_interface_busy_gpio_deinit</a></div><div class="ttdeci">uint8_t llcc68_interface_busy_gpio_deinit(void)</div><div class="ttdoc">interface busy gpio deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00136">driver_llcc68_interface_template.c:136</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_ga4cc1732c6c990f8f94e3d6e84b9f55dc"><div class="ttname"><a href="group__llcc68__interface__driver.html#ga4cc1732c6c990f8f94e3d6e84b9f55dc">llcc68_interface_spi_deinit</a></div><div class="ttdeci">uint8_t llcc68_interface_spi_deinit(void)</div><div class="ttdoc">interface spi bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00058">driver_llcc68_interface_template.c:58</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_ga6249185ed7b26c1d00555f68b7f939bb"><div class="ttname"><a href="group__llcc68__interface__driver.html#ga6249185ed7b26c1d00555f68b7f939bb">llcc68_interface_spi_write_read</a></div><div class="ttdeci">uint8_t llcc68_interface_spi_write_read(uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len)</div><div class="ttdoc">interface spi bus write read</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00074">driver_llcc68_interface_template.c:74</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_ga964a93cf01c0994dc4e64c8faa660166"><div class="ttname"><a href="group__llcc68__interface__driver.html#ga964a93cf01c0994dc4e64c8faa660166">llcc68_interface_reset_gpio_deinit</a></div><div class="ttdeci">uint8_t llcc68_interface_reset_gpio_deinit(void)</div><div class="ttdoc">interface reset gpio deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00099">driver_llcc68_interface_template.c:99</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_gaa18d360d59376da33060a171cb5f383d"><div class="ttname"><a href="group__llcc68__interface__driver.html#gaa18d360d59376da33060a171cb5f383d">llcc68_interface_receive_callback</a></div><div class="ttdeci">void llcc68_interface_receive_callback(uint16_t type, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface receive callback</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00181">driver_llcc68_interface_template.c:181</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_gac2fce1fe77dbf76dace4c91647c83313"><div class="ttname"><a href="group__llcc68__interface__driver.html#gac2fce1fe77dbf76dace4c91647c83313">llcc68_interface_debug_print</a></div><div class="ttdeci">void llcc68_interface_debug_print(const char *const fmt,...)</div><div class="ttdoc">interface print format data</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00169">driver_llcc68_interface_template.c:169</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_gac629a17da5f2e066e60b3ef7f5d6c627"><div class="ttname"><a href="group__llcc68__interface__driver.html#gac629a17da5f2e066e60b3ef7f5d6c627">llcc68_interface_delay_ms</a></div><div class="ttdeci">void llcc68_interface_delay_ms(uint32_t ms)</div><div class="ttdoc">interface delay ms</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00159">driver_llcc68_interface_template.c:159</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_gac91b001cd91ba910332cf40d22a99562"><div class="ttname"><a href="group__llcc68__interface__driver.html#gac91b001cd91ba910332cf40d22a99562">llcc68_interface_spi_init</a></div><div class="ttdeci">uint8_t llcc68_interface_spi_init(void)</div><div class="ttdoc">interface spi bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00046">driver_llcc68_interface_template.c:46</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_gae809b7f978725939f9d214c7c52169df"><div class="ttname"><a href="group__llcc68__interface__driver.html#gae809b7f978725939f9d214c7c52169df">llcc68_interface_busy_gpio_init</a></div><div class="ttdeci">uint8_t llcc68_interface_busy_gpio_init(void)</div><div class="ttdoc">interface busy gpio init</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00124">driver_llcc68_interface_template.c:124</a></div></div>
<div class="ttc" id="agroup__llcc68__interface__driver_html_gaf306a5d478b9cb0cc4f855b6423a7a40"><div class="ttname"><a href="group__llcc68__interface__driver.html#gaf306a5d478b9cb0cc4f855b6423a7a40">llcc68_interface_reset_gpio_write</a></div><div class="ttdeci">uint8_t llcc68_interface_reset_gpio_write(uint8_t data)</div><div class="ttdoc">interface reset gpio write</div><div class="ttdef"><b>Definition:</b> <a href="driver__llcc68__interface__template_8c_source.html#l00112">driver_llcc68_interface_template.c:112</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_b31d54d5631803016a26f28213a41162.html">interface</a></li><li class="navelem"><a class="el" href="driver__llcc68__interface_8h.html">driver_llcc68_interface.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
